package com.xian.operator;

public class OperatorDemo4 {
    public static void main(String[] args) {
        // 目标：赋值运算符  =   +=  -=  *=  %=

        int a = 10;
        int b = 20;
        a += b;  //a = (int)(a+b)
        System.out.println(a);

        byte i = 10;
        byte j = 20;
        i += j;  //i=(byte)(i+j)
        System.out.println(i);
    }
}
